<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>express·留言板</title>
</head>
<link rel="stylesheet" href="/static/css/bootstrap.css">
<body>
  <div class="header container">
    <div class="page-header">
      <h1>Welcome to the NodeJS message board ！<small>Please speak civilly</small></h1>
      <a class="btn btn-success" href="/post">发表留言</a>
    </div>
  </div>
  <div class="comments container">
    <ul class="list-group">
      {{ each commitList}}
      <li class="list-group-item">{{$value.name}}说: {{$value.msg}} <span class="pull-right">{{$value.post_time}}</span></li>
      {{ /each }}
    </ul>
  </div>
</body>
</html>